<?php
// 中间件配置
use app\middleware\CheckAdminLogin;
use app\middleware\CheckFactorySign;
use app\middleware\CheckUserFactory;
use app\middleware\CheckUserLogin;

return [
    // 别名或分组
    'alias'    => [
        'check_admin_login' => CheckAdminLogin::class,
        'check_factory_sign' => CheckFactorySign::class,
        'check_user_login' => CheckUserLogin::class,
        'check_user_factory' => CheckUserFactory::class,
    ],
    // 优先级设置，此数组中的中间件会按照数组中的顺序优先执行
    'priority' => [],
];
